GcBitmap Constructor(UInt32[],Int32,Int32,Boolean,Boolean,Single,Single)
In This Topic
Initializes a new instance of the
GcBitmap class and sets the existing pixel data to be read/modified in-place.
Syntax
'Declaration
Public Function New( _
ByVal () As System.UInteger, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Boolean, _
Optional ByVal As System.Boolean, _
Optional ByVal As System.Single, _
Optional ByVal As System.Single _
)
public GcBitmap(
System.uint[] ,
System.int ,
System.int ,
System.bool ,
System.bool ,
System.float ,
System.float
)
Parameters
- pixelData
- The pixel data to be attached to a GcBitmap.
- pixelWidth
- The width of the image, in pixels.
- pixelHeight
- The height of the image, in pixels.
- opaque
- Indicates whether the alpha channel should be ignored.
- premultiplied
- Indicates whether the color channels are premultiplied by the alpha channel.
- dpiX
- The horizontal dpi of the image.
- dpiY
- The vertical dpi of the image.
See Also